package com.hsmpay.mobile.pojo.message;

import com.hsmpay.common.pojo.BasePojo;
import com.hsmpay.common.pojo.user.User;

import java.util.Date;

/**
 * 登录时 提示消息
 * 建立时间：2013-9-29
 *
 * @author 颜铃璋
 */
public class LoginMessage extends BasePojo {
    private static final long serialVersionUID = -2149771718025080346L;

    private Long id;
    private Long terminalId;//终端类型ID
    private Long roleId;//终端角色ID
    private Long userId;//用户ID
    private Integer status;//1 生效2失效
    private Integer type;//1 系统消息  2 个人消息
    private String message;//消息
    private Date createDate;//创建时间 即开始时间
    private Date invalidTime;//失效时间
    private Long invalidTimeLong;//失效时间long

    //--------用户相关数据
    private User user;

    //--------其他参数
    private String otherParam;

    public String getOtherParam() {
        return otherParam;
    }

    public void setOtherParam(String otherParam) {
        this.otherParam = otherParam;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(Long terminalId) {
        this.terminalId = terminalId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public Long getInvalidTimeLong() {
        return invalidTimeLong;
    }

    public void setInvalidTimeLong(Long invalidTimeLong) {
        this.invalidTimeLong = invalidTimeLong;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
